.class Lroboguice/activity/RoboSplashActivity$1;
.super Ljava/lang/Object;
.source "RoboSplashActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:J

.field final synthetic b:Lroboguice/activity/RoboSplashActivity;


# direct methods
.method constructor <init>(Lroboguice/activity/RoboSplashActivity;J)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 32
    iput-object p1, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    iput-wide p2, p0, Lroboguice/activity/RoboSplashActivity$1;->a:J

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 37
    iget-object v0, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    invoke-virtual {v0}, Lroboguice/activity/RoboSplashActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lroboguice/application/RoboApplication;

    .line 38
    invoke-virtual {v0}, Lroboguice/application/RoboApplication;->a()Lcom/google/inject/Injector;

    move-result-object v1

    const-class v2, Lroboguice/inject/ContextScope;

    invoke-interface {v1, v2}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lroboguice/inject/ContextScope;

    .line 40
    invoke-virtual {v1, v0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 43
    :try_start_0
    iget-object v2, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    invoke-virtual {v2, v0}, Lroboguice/activity/RoboSplashActivity;->a(Lroboguice/application/RoboApplication;)V

    .line 46
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-wide v4, p0, Lroboguice/activity/RoboSplashActivity$1;->a:J

    sub-long/2addr v2, v4

    .line 47
    iget-object v4, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    iget v4, v4, Lroboguice/activity/RoboSplashActivity;->a:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    int-to-long v4, v4

    cmp-long v4, v2, v4

    if-gez v4, :cond_0

    .line 49
    :try_start_1
    iget-object v4, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    iget v4, v4, Lroboguice/activity/RoboSplashActivity;->a:I

    int-to-long v4, v4

    sub-long v2, v4, v2

    invoke-static {v2, v3}, Ljava/lang/Thread;->sleep(J)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_1 .. :try_end_1} :catch_0

    .line 55
    :cond_0
    :goto_0
    :try_start_2
    iget-object v2, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    invoke-virtual {v2}, Lroboguice/activity/RoboSplashActivity;->b()V

    .line 56
    iget-object v2, p0, Lroboguice/activity/RoboSplashActivity$1;->b:Lroboguice/activity/RoboSplashActivity;

    invoke-virtual {v2}, Lroboguice/activity/RoboSplashActivity;->a()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 59
    invoke-virtual {v1, v0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 61
    return-void

    .line 50
    :catch_0
    move-exception v2

    .line 51
    :try_start_3
    invoke-static {}, Ljava/lang/Thread;->interrupted()Z
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    goto :goto_0

    .line 59
    :catchall_0
    move-exception v2

    invoke-virtual {v1, v0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    throw v2
.end method
